package com.yang.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
/**
 * <p>
 * 本地消息表实体
 * </p>
 * @author yang
 * @date 2023/8/16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_message")
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "充值记录ID，最大长度20", required = true)
    private Long id;
    @ApiModelProperty(value = "消费队列，最大长度20")
    private String consumerQueue;
    @ApiModelProperty(value = "消息内容，最大长度0")
    private String messageBody;
    @ApiModelProperty(value = "重发次数，最大长度11")
    private Integer resendTimes;
    @ApiModelProperty(value = "是否已死（0:否、1:是），最大长度11")
    private Integer alreadyDead;
    @ApiModelProperty(value = "消息状态（0:未发送 1:已发送），最大长度2")
    private Integer status;
    @ApiModelProperty(value = "确认时间，最大长度0")
    private Date confirmTime;
    @ApiModelProperty(value = "创建时间，最大长度0")
    private Date createTime;
    @ApiModelProperty(value = "更新时间，最大长度0")
    private Date updateTime;

}
